package com.lmf.cloud.controller.fallback;

import com.lmf.cloud.controller.feign.SeataAccountFeign;
import com.lmf.cloud.resp.ResultData;
import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * <p>
 * Copyright @2022 Shanghai Mise Co. Ltd.
 * All right reserved.
 * <p>
 * @Author LiuMingFu
 * @Date 2024/8/1 19:37
 */
@Component
public class SeataAccountFeignFallback implements SeataAccountFeign {
    /**
     * 扣减账户余额
     *
     * @param userId 用户id
     * @param count  扣减金额
     * @return
     */
    @Override
    public ResultData<Boolean> decreaseAccount(Long userId, Integer count) {
        return null;
    }
}
